package com.huiminpay.merchant.covert;

import com.huiminpay.merchant.dto.MerchantDTO;
import com.huiminpay.merchant.vo.MerchantDetailVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface MerchantDetailVOconvert {
    MerchantDetailVOconvert INSTANCE = Mappers.getMapper(MerchantDetailVOconvert.class);//自动生成实现方法
    MerchantDTO vo2dto(MerchantDetailVO vo);
    MerchantDetailVO dto2vo(MerchantDTO dto);
}